#include "CommunicationBase.h"
CommunicationBase::CommunicationBase(const string& channelName, UInt16 listeningPort, UInt32 targetIP, UInt16 targetProt)
	:m_ListeningPort(listeningPort), m_TargetIP(targetIP), m_TargetProt(targetProt),
	m_ReceiveCallback(0), m_ReceiveFlag(false), m_ChannelName(channelName)
{

}
void CommunicationBase::setReceiveFunction(ReceiveDataFunction receiveDataFuntion)
{
	m_ReceiveCallback = receiveDataFuntion;
}